package war2100.entity;

import war2100.Prototypes;

public abstract class Entity {
	protected float x, y;
	protected Prototypes prototypes;

	public Entity(float x, float y, Prototypes prototypes) {
		this.x = x;
		this.y = y;
                this.prototypes = prototypes;
	}
	
	public Entity(Entity e, Prototypes prototypes) {
		this(e.getX(),e.getY(), prototypes);
	}

	//public abstract void render(Graphics g, int xp, int yp, int width, int height);

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}

}
